|
NcApi
|
The application must call NcApiInit() once for initialisation.
The Application must provide the following actions to UART service requests, cf. the "Introduction and overview" chapter:
The application must provied means of servicing UART CTS signal changes. When the CTS edges low, NcApiCtsActive() must be called. If there is a pending enqueued message the API will call NcApiSupportTxData(), and when the entire message has been delivered to the UART, NcApiSupportMessageWritten() is called.
The application must provied means of servicing UART Rx data. When a byte is received NcApiRxData() must be called. When a complete message has been received, the application will be notified via NcApiSupportMessageReceived().
The Application must provide the following basic functions for receiving and transmitting messages, cf. the "Introduction and overview" chapter:
The applicaton can chose to be notified for certain received message types through the instance of NcApiRxHandlers, which is aet of application callback function pointers.
Cf. the "Introduction and overview" chapter.
1.8.10